package com.huatao.subject.domain.convert;

import com.huatao.subject.domain.entity.SubjectLikedBO;
import com.huatao.subject.infra.basic.entity.SubjectLiked;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLikedBoConverter {
    SubjectLikedBoConverter INSTACE = Mappers.getMapper(SubjectLikedBoConverter.class);

    SubjectLiked convertLikedBoToEntity(SubjectLikedBO subjectLikedBO);

    List<SubjectLikedBO> convertLikedToBoList(List<SubjectLiked> subjectLikedList);
}
